package action;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionSupport;

import service.UserManageService;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;

@ParentPackage("authorityInterceptor")
public class HomeAction extends BaseAction{
	@Action(results = { @Result(name = "success", location = "/Views/Index.jsp") })
	 public String execute() {  
		 context.setAttribute("id", request.getParameter("id"));
		 return SUCCESS;
	    }  
}
